<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
    <style>
        .c1{border: 1px solid red;border-radius: 5px;text-align: center}
    </style>
</head>
<body>
<div id="app">
    <el-row>
        <el-col :span="12"><div class="c1">刘德华</div></el-col>
        <el-col :span="12"><div class="c1">郭富城</div></el-col>
    </el-row>
    <el-row>
        <el-col :span="8"><div class="c1">刘德华</div></el-col>
        <el-col :span="8"><div class="c1">郭富城</div></el-col>
        <el-col :span="8"><div class="c1">张学友</div></el-col>
    </el-row>
    <h1>三等分居中</h1>
    <div style="width: 1200px;margin: auto">
        <!--gutter设置间距-->
        <el-row gutter="10">
            <el-col :span="8"><div class="c1">刘德华</div></el-col>
            <el-col :span="8"><div class="c1">郭富城</div></el-col>
            <el-col :span="8"><div class="c1">张学友</div></el-col>
        </el-row>
    </div>
    <h1>1:2:3</h1>
    <div style="width: 1200px;margin: auto">
        <!--gutter设置间距-->
        <el-row gutter="10">
            <el-col :span="4"><div class="c1">刘德华</div></el-col>
            <el-col :span="8"><div class="c1">郭富城</div></el-col>
            <el-col :span="12"><div class="c1">张学友</div></el-col>
        </el-row>
    </div>
    <h1>列偏移</h1>
    <el-row>
        <el-col :span="20" offset="2"><div class="c1">列偏移</div></el-col>
    </el-row>
    <h1>一行放图片</h1>
    <el-row gutter="10">
        <!--"item in 4"表示循环四次-->
        <el-col :span="6" v-for="item in 4">
            <el-card>
                <img src="../2.png"></el-col>
            </el-card>

    </el-row>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function() {
            return {

            }
        },
        methods: {

        },
    })
</script>
</html>